package com.hotelManagerSystem.service;

import com.hotelManagerSystem.model.Dish;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author treasy
 * @since 2021-12-22
 */
public interface IDishService extends IService<Dish> {
    Map<String, Object> queryAll();

    Map<String, Object> queryByName(String name);

    Map<String, Object> addOne(Dish dish, MultipartFile photo);
}
